package com.ltt.service;

import com.ltt.dao.pojo.Market;
import com.ltt.dao.pojo.Order;
import com.ltt.dao.vo.OrderVo;

import java.util.List;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/5 15:37
 */
public interface MarketService {
    List<Market> getAllMarket();

    Market getMarket(int id);

    void buyMarket(Order order);

    List<OrderVo> findAllOrderById(String openid);
}
